﻿using PivotCollectionTools.Library;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PivotCollectionTools.Data;

namespace PivotCollectionTools.Library.Test
{
    
    
    /// <summary>
    ///This is a test class for PivotCollectionProjectTest and is intended
    ///to contain all PivotCollectionProjectTest Unit Tests
    ///</summary>
    [TestClass()]
    public class PivotCollectionProjectTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        /// <summary>
        ///A test for Table
        ///</summary>
        [TestMethod()]
        [DeploymentItem("PivotCollectionTools.Library.dll")]
        public void TableTest()
        {
            PivotCollectionProject_Accessor target = new PivotCollectionProject_Accessor(); // TODO: Initialize to an appropriate value
            PivotTable expected = null; // TODO: Initialize to an appropriate value
            PivotTable actual;
            target.Table = expected;
            actual = target.Table;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for PublishFolder
        ///</summary>
        [TestMethod()]
        public void PublishFolderTest()
        {
            PivotCollectionProject target = new PivotCollectionProject(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.PublishFolder = expected;
            actual = target.PublishFolder;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for PivotCollectionFileName
        ///</summary>
        [TestMethod()]
        public void PivotCollectionFileNameTest()
        {
            PivotCollectionProject target = new PivotCollectionProject(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.PivotCollectionFileName = expected;
            actual = target.PivotCollectionFileName;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for DeepZoomCollectionName
        ///</summary>
        [TestMethod()]
        public void DeepZoomCollectionNameTest()
        {
            PivotCollectionProject target = new PivotCollectionProject(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.DeepZoomCollectionName = expected;
            actual = target.DeepZoomCollectionName;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for ConvertedImageFolder
        ///</summary>
        [TestMethod()]
        public void ConvertedImageFolderTest()
        {
            PivotCollectionProject target = new PivotCollectionProject(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.ConvertedImageFolder = expected;
            actual = target.ConvertedImageFolder;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for CollectionTitle
        ///</summary>
        [TestMethod()]
        public void CollectionTitleTest()
        {
            PivotCollectionProject target = new PivotCollectionProject(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.CollectionTitle = expected;
            actual = target.CollectionTitle;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for SaveProject
        ///</summary>
        [TestMethod()]
        public void SaveProjectTest()
        {
            PivotCollectionProject target = new PivotCollectionProject(); // TODO: Initialize to an appropriate value
            string fileName = string.Empty; // TODO: Initialize to an appropriate value
            target.SaveProject(fileName);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for LoadProject
        ///</summary>
        [TestMethod()]
        public void LoadProjectTest()
        {
            string fileName = string.Empty; // TODO: Initialize to an appropriate value
            PivotCollectionProject expected = null; // TODO: Initialize to an appropriate value
            PivotCollectionProject actual;
            actual = PivotCollectionProject.LoadProject(fileName);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Clear
        ///</summary>
        [TestMethod()]
        public void ClearTest()
        {
            PivotCollectionProject target = new PivotCollectionProject(); // TODO: Initialize to an appropriate value
            target.Clear();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for PivotCollectionProject Constructor
        ///</summary>
        [TestMethod()]
        public void PivotCollectionProjectConstructorTest()
        {
            PivotCollectionProject target = new PivotCollectionProject();
            Assert.Inconclusive("TODO: Implement code to verify target");
        }
    }
}
